﻿using System;
using System.Collections.Generic;
using System.Text;
using YouHP.Utility;
using YouHP.BLL;
using System.Web;
using YouHP.Model;

namespace YouHP.Pages.User
{
    public class ActionList : YouHP.Pages.User.UserBasePage
    {


        protected override void ShowPage()
        {
            base.ShowPage();
            if (ErrorCount > 0) return;

            HandleCommon();
            if (ErrorCount > 0) return;
            if (IsPost) HandlePost();
            else
                HandleGet();
        }

        protected void HandlePost()
        {

        }

        protected void HandleCommon()
        {
            this.AddLocation("我的互动", "");
            this.SetTitle("我的互动");
            this.AddScriptSrc("/support/Alpha/Js/mootools.js");

            if (UserData.Id == UserData.Id)
            {
                //如果是本人登录此页面，将表情设置为已读
                ActionBLL.Instance.UpdateActionState(UserData.Id, 1);
            }
        }


        protected void HandleGet()
        {


        }
    }
}
